package org.example.tree;

public class ClueNode extends HeroNode{

    public ClueNode() {
    }

    public ClueNode(int no, String name) {
        super(no, name);
    }

    /**
     * 1.如果leftType ==0, 表示指向的是左子树，如果是1表示指向的是前驱节点
     * 2.rightType == 0：表示指向右子树，==1：表示指向后继节点
     */

    private int leftType;
    private int rightType;

    public int getLeftType() {
        return leftType;
    }

    public void setLeftType(int leftType) {
        this.leftType = leftType;
    }

    public int getRightType() {
        return rightType;
    }

    public void setRightType(int rightType) {
        this.rightType = rightType;
    }


}
